package Structure.Decorator.node.decorator;

import Structure.Decorator.node.NodeDecorator;
import Structure.Decorator.node.TextNode;

/**
 * Author  zxy
 * Date  2022/12/29 下午 2:53
 */
public class DelDecorator extends NodeDecorator {

    public DelDecorator(TextNode target) {
        super(target);
    }

    public String getText() {
        return "<del>" + target.getText() + "</del>";
    }

}
